# appEntry
:::tip
The entry file of the project, such as `index.js`  
This option will be invalid when `entries` is set
:::
+ Type: `string`
+ Default: `index.js`

```ts title="emp-config.js"
import {defineConfig} from '@empjs/cli'
export default defineConfig(store => {
  return {
    appEntry: 'main.js'
  }
})
```